#include <iostream>
#include <windows.h>
#include "_Wiimote.h"

using namespace std;

int main()
{
    bool report;
    _Wiimote* manette = new _Wiimote(&report);

    if (report)
    {
        manette->SetLEDs(1);
        while(true)
        {
            Sleep(250);
            system("cls");
            manette->Point3D();
        }
    }
    else printf("Pas de manette..................; pas de manette\n");
    return 0;
}
